angular.module('listService', [])
    .factory("listFactory",['$http',function ($http) {
        return {
            getData:function () {
                return $http.get('data.json').success(function (data,header,config,status) {
                    return data;
                }).error(function (reason,header,config,status) {
                });
            }
        }
    }])